package com.uwo.house.dao;

import com.uwo.house.beans.request.DistributeDesignReq;
import com.uwo.house.beans.response.DesignOrderResp;
import com.uwo.house.beans.response.RelatedStuffInfo;
import com.uwo.house.beans.response.RelatedStuffResp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by cyn1c on 2017/7/24.
 */
@Repository
public interface DesignOrderDao {
    List<DesignOrderResp> getDesignOrderList(@Param("orderId") String orderId,
                                             @Param("decorationStyle") String decorationStyle,
                                             @Param("distributeFlag") String distributeFlag,
                                             @Param("scheduleStatus") String scheduleStatus);

    int distributeDesignOrder(DistributeDesignReq distributeDesignReq);

    int deleteDesign(String orderId);

    void deleteSchedule(String orderId);

    void deleteOrderStatus(String orderId);

    RelatedStuffResp getRelatedStuff(String orderId);

    RelatedStuffInfo getStuffInfoById(String userId);

    String getMobileByUserId(String userId);
}
